<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>测试BOM编辑</title>
        <link rel="stylesheet" type="text/css" href="../../assets/styles/themes/icon.css" />
        <link rel="stylesheet" type="text/css" href="../../assets/styles/themes/default/easyui.css" />
        <link href="/components/zykt_nj/menu_nj/TestStandardManage/TestBOMEdit.css" type="text/css" rel="stylesheet">
        <script type="text/javascript" src="../../assets/scripts/jquery-2.1.1.min.js"></script>
        <script type="text/javascript" src="../../assets/scripts/jquery.easyui.min2.js"></script>
    		<link href="../../assets/styles/common.css" type="text/css" rel="stylesheet">
    		<link href="../../assets/styles/BigSlide.css" type="text/css" rel="stylesheet">.
        <script type="text/javascript" src="/assets/scripts/easyui-lang-zh_CN.js"></script>
        <script type="text/javascript" src="/components/zykt_nj/menu_nj/TestStandardManage/loadCookie.js"></script>
        <script type="text/javascript" src="/components/zykt_nj/menu_nj/TestStandardManage/TestBOMEdit.js"></script>


    </head>
    
    <body style="background:#fff" >
    <div class="easyui-layout" style="height:1200px;">
    
<!-- center 存放内容-->
     <div data-options="region:'center',border:false" style="overflow:hidden;">
        <div style="width:1200px; margin: 0 auto;font-size:14px; font-family: Tahoma,Verdana,微软雅黑,新宋体;">
          <!-- 存放自己的内容-->
          <div>您的位置：
              <a href="../../menu/TestStandardManage/TestStandardManage">标准管理</a>>>
              <a href="../../menu/TestStandardManage/TestBOMEdit">测试BOM管理</a>
          </div>
       
          <!-- 通用信息选择 -->
          <div  style="width:1200;height:250" >
              <form id='selectf' method="post">
              <table id="tt"  class="bordered"><!-- style="border:1px ;margin:0 auto; overflow:hidden;" -->
                <tr>
                  <th>产品类别</th>
                  <td>
                      <input class="easyui-combobox" id="pd_type" name="pd_type" method="get" data-options="valueField:'id',textField:'categoryname',url:'../../api/cgetAllProductCategory'" >
                      
                  </td> 
                  <th>检测类型</th>
                  <td>
                      <select class="easyui-combobox" id="test_type" name="test_type"  editable='false'>
                          <option selected></option>
                          <option>性能</option>
                          <option>安全</option>
                          <option>噪音</option>
                          <option>运输</option>
                          <option>EMC</option>
                          <option>可靠性</option>
                          <option>环境</option>
                          <option>舒适性</option>
                          <option>模拟</option>
                          <option>应力</option>
                          <option>压缩机性能</option>
                          <option>换热器</option>
                          <option>联合实验</option>
                      </select>
                  </td>
                  <th>试品等级</th>
                  <td>
                      <select class="easyui-combobox" id="test_grade" name="test_grade"  editable='false'>
                          <option selected></option>
                          <option>功能模型</option>
                          <option>初级样机</option>
                          <option>不调试</option>
                          <option>工艺样机</option>
                          <option>合格品</option>
                          <option>小批样机</option>
                          <option>母本检测样机</option>
                          <option>社反样机</option>
                      </select>
                  </td>                                              
                </tr>
                <tr>
                    <th>经营体</th>
                    <td>
                        <select class="easyui-combobox" id="venture" name="venture"  editable='false'>
                            <option selected></option>
                            <option>变频</option>
                            <option>定频</option>
                        </select>
                    </td>                       
                
                    <th>销售区域</th>
                    <td>
                        <select class="easyui-combobox" id="area" name="area"  editable='false'>
                            <option selected></option>
                            <option>中国</option>
                            <option>美洲</option>
                            <option>欧洲</option>
                            <option>中东</option>
                            <option>其他国家</option>
                        </select>
                    </td>
                    <td style="text-align:center" colspan="2"><a href="javascript:void(0)" class="easyui-linkbutton" onclick="searchByConditions()" data-options="iconCls:'icon-ktsySearch'" >查找</a></td>
                </tr>
              </table>
              </form>
            </div>

          <div style="height:10px"></div>
          <div>测试BOM列表</div>
          <div align="center">
              <table id="showDataDg"> </table>
          </div>
          <div style="height:10px"></div>
          <div>可选标准项目列表</div>
          <div class="easyui-layout" style="width:1200px;height:500px;overflow:hidden;" >
        <!-- 查询窗口 -->
            <div data-options="region:'north',collapsed:false,collapsible:false " style="height:500px;width:100%" title="搜索栏" >
              <table style="border:1px ;margin:0 auto; overflow:hidden;height:40px;">
                <tr>
                  <!-- <th>测试依据</th>
                  <td>
                    <input id="template_id" name="template_id" class="easyui-combobox" method="get" data-options="
                      url:'../../api/getAllTestStandard',    
                      valueField:'template_id',    
                      textField:'template_name',
                      onSelect: function(rec){
                      var url = '../../api/getAllTestItemByTstId?tstId='+rec.template_id;
                      $('#item_id').combobox('reload', url);
                    }">
                  </td>
                  <th>测试项目</th>
                  <td>
                    <input id="item_id" name="item_id" class="easyui-combobox" method="get" data-options="                      
                      url:'../../api/getAllTestItemByTstId?tstId='+0,    
                      valueField:'item_id',    
                      textField:'item_name'
                    ">
                  </td> -->
                  <th>测试依据</th>
                  <td>
                    <input id="template_name" class="easyui-textbox" data-options="prompt:'请输入测试依据名称'">
                  </td>
                  <th>测试项目</th>
                  <td>
                    <input id="item_name" class="easyui-textbox" data-options="prompt:'请输入测试项目名称'">
                  </td>
                  <td><a href="javascript:void(0)" class="easyui-linkbutton" onclick="searchTsuByCondition()" data-options="iconCls:'icon-ktsySearch'" >查找</a></td>
                </tr>
              </table>
              <table id="selectDataDg" style="margin:0 auto;"></table>
            </div>
            
          </div>
          
          

            
            
            
          

  

          <!-- center 存放内容-->
       </div>
     </div>
<!-- footer -->
  
</div>
</body>
</html>